package com.ym.medical.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.medical.enums.PaymentStateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Size;

/**
 * 心意对象 mind
 *
 * @author ym
 * @date 2020-09-02
 */
@ApiModel(value = "心意-查询")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class MindQueryMobileParam {

    @ApiModelProperty(notes = "答谢订单编号")
    @Size(max = 20 , message = "答谢订单编号长度必须在{min}和{max}之间")
    private String ioNum;

    @ApiModelProperty("支付状态 (01 待支付 02 已支付 03 退费申请中 04 已退费 05支付失败)PaymentStateEnum")
    @CustomConstraint(PaymentStateEnum.class)
    private String payState;
}
